Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: multiple values ​​in one variable

  1. #11

    Default

    Whew, I did something stupid,
    I mistakenly placed the "wait 2" between the condition and the curly braces.
    like this :
    if( self cansee level.vr1[local.i] && ( level.vr1[local.i].gun == "springfield '03 sniper" || level.vr1[local.i].gun == "mauser kar 98d sniper" ) )
    wait 2
    { $gp playsound gps4 } // sniper !
    instead of placing the "wait 2" inside de curly braces.
    Of course it didn't work anymore, all i heard was sniper sniper sniper !!!
    So I spent a lot of time figuring out what was wrong,
    until my eyes fell on the "wait 2"

    hi Sor, hi Leyok
    It works alright if i omit the round brackets, but I used them like you said,
    does it make much difference in this case ?

  2. #12
    Developer RyBack's Avatar
    Join Date
    Apr 2014
    Location
    In Front of the screen
    Posts
    1,567

    Default

    try to use notepad++ , will help ya so much if us c / c++ language

  3. #13

    Default

    hi RyBack

    I removed Notepad++ from my PC more than half a year ago,
    because 1) I almost never used it.
    2) after docking a dialog box, i could not undock it anymore,
    and even after reinstalling Notepad++ the problem was still there.
    3) I mostly use VBSEdit / HTAEdit or EditPad Pro.

  4. #14

    Default

    Theres a file with tools for MOHAA to edit scripts and tiki files.
    This is the link:
    MOHAA Tools

    Will be very usefull for you

  5. #15

    Default

    hi DoubleKill

    I've installed Mohaa tools already a few years ago,
    unfortunately i've never got around to start using it.
    Creating a map would be awesome,
    but working with mohradiant doesn't seem that easy.
    If i had more time, and there was a really good tutorial about creating a map,
    and i mean a really good tutorial which shows you step by step how to start creating a first small simple map to get the hang of it,
    then i'd give it a try.

  6. #16
    Developer RyBack's Avatar
    Join Date
    Apr 2014
    Location
    In Front of the screen
    Posts
    1,567

    Default

    Hi Boni :3

    Good tuts can be found on tmt ,
    Docs folder of MOHAA Tools
    AAAA
    and shadows Tuts pack

    Later
    Last edited by RyBack; June 22nd, 2014 at 04:10 AM.

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •